<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../js/vue.js"></script>
    <style>
        *{
            margin: 0px;
            padding: 0px;
        }
        .top{
            height: 80px;
            background-color: #ccc;
        }
        .left{
            margin-top: 20px;
            width: 80%;
            height: 500px;
            background-color: #ccc;
            float: left;
        }
        .right{
            margin-top: 20px;
            width: 20%;
            height: 500px;
            background-color: #ccc;
            float: right;
        }
    </style>
</head>
<body>
   <div id="app">
       <tops></tops>
       <lefts></lefts>
       <rights></rights>
   </div>
</body>
<script>
    var app = new Vue({
        el:"#app",
        components:{
            tops:{template:"<div class='top'></div>"},
            lefts:{template:"<div class='left'></div>"},
            rights:{template:"<div class='right'></div>"}
        }
    });
</script>
</html>

